package entity.User.model;

import entity.Car.model.Transport;

import java.util.Date;
import java.util.Set;

/**
 * Created by vanches on 25.12.14.
 */
public class User {

    private int id;
    private String login;
    private String pass;
    private String mail;
    private int accessLevel;
    private String cityId;
    private String locale;
    private String avatar;
    private Date birthday;
    private Set<Transport> transportSet;


    //region Constructors
    public User(){

    }

    public User(String login, String pass, String mail) {
        this.login = login;
        this.pass = pass;
        this.mail = mail;
    }
//endregion

    //region GET and SET

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public int getAccessLevel() {
        return accessLevel;
    }

    public void setAccessLevel(int accessLevel) {
        this.accessLevel = accessLevel;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String sitiId) {
        this.cityId = sitiId;
    }

    public String getLocale() {
        return locale;
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Set<Transport> getTransportSet() {
        return transportSet;
    }

    public void setTransportSet(Set<Transport> transportSet) {
        this.transportSet = transportSet;
    }


    //endregion
}
